﻿@model online_magazine1.Models.Article

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Article</legend>

    <div class="display-label">AuthorId: @Html.DisplayFor(model => model.AuthorId)</div>
    <div></div>
    <div class="display-label">Theme: @Html.DisplayFor(model => model.Theme.ThemeName)</div>
    <div></div>
    <div class="display-label">DateCreated: @Html.DisplayFor(model => model.DateCreated)</div>
    <div></div>
    <div class="display-label">Title: @Html.DisplayFor(model => model.Title)</div>
    <div></div>
    <div class="display-label">Description: @Html.DisplayFor(model => model.Description)</div>
    <div>
        @Html.TextAreaFor(model => model.MainText, 20, 100, null)
    </div>
    <div>
        @Html.ActionLink("Download", "Download")
    </div>
</fieldset>

@Html.ActionLink("Back to list", "Browse", new { theme = Model.Theme.ThemeName})
